home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / 3D Class Library / cosin.h < prev    next >
Text File  |  1996-06-27  |  546b  |  23 lines

  1. // =======================================================================
  2. //    3D Class Library, © Xilex Group
  3. // - ------------------------------------------------------------------- -
  4. //    Written by Dmitry Boldyrev
  5. // =======================================================================
  6.  
  7. #pragma once
  8.  
  9. #include "types.h"
  10.  
  11. #ifndef PI
  12. #define PI        3.14592654
  13. #endif
  14.  
  15. #define PI2    1.57296327
  16. #define BOUND360(x)    (((x) < 0) ? (x)+360 : (x))
  17.  
  18. void initSinCos();
  19.  
  20. WORD RSIN(WORD deg);
  21. WORD DSIN(SINGLE rad);
  22. WORD RCOS(WORD deg);
  23. WORD DCOS(SINGLE rad);